package holiday_demo.pc;

//键盘类---一个USB设备
public class KeyBoard implements USB {
    @Override
    public void open() {
        System.out.println("键盘已经安装！");
    }

    @Override
    public void close() {
        System.out.println("键盘已经卸载！");
    }
    public void type() {
        System.out.println("键盘输入！");
    }
}
